package com.bush.mall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.order.entity.OrderItemEntity;

/**
 * 订单项信息
 * @author RUN
 * @date 2022-11-29
 */
public interface OrderItemService extends IService<OrderItemEntity> {

    public static final String BEAN_ID = "mall.orderItemService";

    /**
     * 分页查询订单项信息列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建订单项信息表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveOrderItem(OrderItemEntity orderItem);


    /**
     * 修改订单项信息表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateOrderItem(OrderItemEntity orderItem);

    /**
     * 删除指定ID的订单项信息
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteOrderItem(Long id);

}

